#ifndef WF_SELECTALL_H
#define WF_SELECTALL_H

#include "pf_actioninterface.h"
#include "gui_export.h"

/**
 * This action class can handle user events to select all entities.
 *
 */
class GUI_EXPORT WF_SelectAll : public PF_ActionInterface {
	Q_OBJECT
public:
    WF_SelectAll(PF_Container& container,
                       PF_GraphicView& graphicView,
                       bool select);
    ~WF_SelectAll() {}

	static QAction* createGUIAction(LX_Define::ActionType type, QObject* parent);

	virtual LX_Define::ActionType rtti() {
		return LX_Define::ActionSelectAll;
	}

    void init(int status);
    virtual void trigger();

protected:
    bool select;
};

#endif
